package org.edu.modules.portal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

@TableName("ve_site_category")
@ApiModel(value = "ve_site_category对象", description = "栏目信息")
public class VeSiteCategory implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;
    @Excel(name = "栏目名称", width = 15.0D)
    @ApiModelProperty("栏目名称")
    private String title;
    @Excel(name = "类型（Node默认模块，Simple单页面, News信息模型，Picture 图片模型，Link 外部链接， Book 在线留言） ", width = 15.0D)
    @ApiModelProperty("类型（Node默认模块，Simple单页面, News信息模型，Picture 图片模型，Link 外部链接， Book 在线留言） ")
    private String type;
    @Excel(name = "是否有图片0否1是", width = 15.0D)
    @ApiModelProperty("是否有图片0否1是")
    private Integer haspic;
    @Excel(name = "上级栏目ID", width = 15.0D)
    @ApiModelProperty("上级栏目ID")
    private Integer pid;
    @Excel(name = "是否启用0否1是", width = 15.0D)
    @ApiModelProperty("是否启用0否1是")
    private Integer status;
    @Excel(name = "留言审核，仅留言本有效0否1是", width = 15.0D)
    @ApiModelProperty("留言审核，仅留言本有效0否1是")
    private Integer bookverify;
    @Excel(name = "允许下载，仅下载有效 0否1是", width = 15.0D)
    @ApiModelProperty("允许下载，仅下载有效 0否1是")
    private Integer isdown;
    @Excel(name = "每页数量", width = 15.0D)
    @ApiModelProperty("每页数量")
    private Integer pagenum;
    @Excel(name = "排序", width = 15.0D)
    @ApiModelProperty("排序")
    private Integer listsort;

    /*  26 */
    public org.edu.modules.portal.entity.VeSiteCategory setId(Integer id) {
        this.id = id;
        return this;
    }

    @Excel(name = "上下级路径", width = 15.0D)
    @ApiModelProperty("上下级路径")
    private String path;
    @Excel(name = "封面ID", width = 15.0D)
    @ApiModelProperty("封面ID")
    private Integer coverid;
    @Excel(name = "栏目介绍", width = 15.0D)
    @ApiModelProperty("栏目介绍")
    private String introduce;
    @Excel(name = "列表模板（index=文字列表，图文列表index_image）", width = 15.0D)
    @ApiModelProperty("列表模板（index=文字列表，图文列表index_image）")
    private String indextemplate;
    @Excel(name = "详细页面模板（detail=默认模板）", width = 15.0D)
    @ApiModelProperty("详细页面模板（detail=默认模板）")
    private String detailtemplate;
    @Excel(name = "基础分类模板", width = 15.0D)
    @ApiModelProperty("基础分类模板")
    private String nodetemplate;
    @Excel(name = "站点ID", width = 15.0D)
    @ApiModelProperty("站点ID")
    private Integer siteid;
    @Excel(name = "终端系统ID", width = 15.0D)
    @ApiModelProperty("终端系统ID")
    private Integer terminalid;
    @Excel(name = "关联模型代码: 师资建设=szjs，校企合作=xqhz", width = 15.0D)
    @ApiModelProperty("关联模型代码: 师资建设=szjs，校企合作=xqhz")
    private String caterowmodel;
    @Excel(name = "是否关联项目类型0否1是", width = 15.0D)
    @ApiModelProperty("是否关联项目类型0否1是")
    private Integer isreltercate;
    @Excel(name = "多租户id", width = 15.0D)
    @ApiModelProperty("多租户id")
    private Integer placeId;

    public org.edu.modules.portal.entity.VeSiteCategory setTitle(String title) {
        this.title = title;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setType(String type) {
        this.type = type;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setHaspic(Integer haspic) {
        this.haspic = haspic;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setPid(Integer pid) {
        this.pid = pid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setBookverify(Integer bookverify) {
        this.bookverify = bookverify;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setIsdown(Integer isdown) {
        this.isdown = isdown;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setPagenum(Integer pagenum) {
        this.pagenum = pagenum;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setListsort(Integer listsort) {
        this.listsort = listsort;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setPath(String path) {
        this.path = path;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setCoverid(Integer coverid) {
        this.coverid = coverid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setIntroduce(String introduce) {
        this.introduce = introduce;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setIndextemplate(String indextemplate) {
        this.indextemplate = indextemplate;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setDetailtemplate(String detailtemplate) {
        this.detailtemplate = detailtemplate;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setNodetemplate(String nodetemplate) {
        this.nodetemplate = nodetemplate;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setSiteid(Integer siteid) {
        this.siteid = siteid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setTerminalid(Integer terminalid) {
        this.terminalid = terminalid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setCaterowmodel(String caterowmodel) {
        this.caterowmodel = caterowmodel;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setIsreltercate(Integer isreltercate) {
        this.isreltercate = isreltercate;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteCategory setPlaceId(Integer placeId) {
        this.placeId = placeId;
        return this;
    }

    public String toString() {
        return "VeSiteCategory(id=" + getId() + ", title=" + getTitle() + ", type=" + getType() + ", haspic=" + getHaspic() + ", pid=" + getPid() + ", status=" + getStatus() + ", bookverify=" + getBookverify() + ", isdown=" + getIsdown() + ", pagenum=" + getPagenum() + ", listsort=" + getListsort() + ", path=" + getPath() + ", coverid=" + getCoverid() + ", introduce=" + getIntroduce() + ", indextemplate=" + getIndextemplate() + ", detailtemplate=" + getDetailtemplate() + ", nodetemplate=" + getNodetemplate() + ", siteid=" + getSiteid() + ", terminalid=" + getTerminalid() + ", caterowmodel=" + getCaterowmodel() + ", isreltercate=" + getIsreltercate() + ", placeId=" + getPlaceId() + ")";
    }


    /*  29 */
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof org.edu.modules.portal.entity.VeSiteCategory)) return false;
        org.edu.modules.portal.entity.VeSiteCategory other = (org.edu.modules.portal.entity.VeSiteCategory) o;
        if (!other.canEqual(this)) return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id)) return false;
        Object this$haspic = getHaspic(), other$haspic = other.getHaspic();
        if ((this$haspic == null) ? (other$haspic != null) : !this$haspic.equals(other$haspic)) return false;
        Object this$pid = getPid(), other$pid = other.getPid();
        if ((this$pid == null) ? (other$pid != null) : !this$pid.equals(other$pid)) return false;
        Object this$status = getStatus(), other$status = other.getStatus();
        if ((this$status == null) ? (other$status != null) : !this$status.equals(other$status)) return false;
        Object this$bookverify = getBookverify(), other$bookverify = other.getBookverify();
        if ((this$bookverify == null) ? (other$bookverify != null) : !this$bookverify.equals(other$bookverify))
            return false;
        Object this$isdown = getIsdown(), other$isdown = other.getIsdown();
        if ((this$isdown == null) ? (other$isdown != null) : !this$isdown.equals(other$isdown)) return false;
        Object this$pagenum = getPagenum(), other$pagenum = other.getPagenum();
        if ((this$pagenum == null) ? (other$pagenum != null) : !this$pagenum.equals(other$pagenum)) return false;
        Object this$listsort = getListsort(), other$listsort = other.getListsort();
        if ((this$listsort == null) ? (other$listsort != null) : !this$listsort.equals(other$listsort)) return false;
        Object this$coverid = getCoverid(), other$coverid = other.getCoverid();
        if ((this$coverid == null) ? (other$coverid != null) : !this$coverid.equals(other$coverid)) return false;
        Object this$siteid = getSiteid(), other$siteid = other.getSiteid();
        if ((this$siteid == null) ? (other$siteid != null) : !this$siteid.equals(other$siteid)) return false;
        Object this$terminalid = getTerminalid(), other$terminalid = other.getTerminalid();
        if ((this$terminalid == null) ? (other$terminalid != null) : !this$terminalid.equals(other$terminalid))
            return false;
        Object this$isreltercate = getIsreltercate(), other$isreltercate = other.getIsreltercate();
        if ((this$isreltercate == null) ? (other$isreltercate != null) : !this$isreltercate.equals(other$isreltercate))
            return false;
        Object this$placeId = getPlaceId(), other$placeId = other.getPlaceId();
        if ((this$placeId == null) ? (other$placeId != null) : !this$placeId.equals(other$placeId)) return false;
        Object this$title = getTitle(), other$title = other.getTitle();
        if ((this$title == null) ? (other$title != null) : !this$title.equals(other$title)) return false;
        Object this$type = getType(), other$type = other.getType();
        if ((this$type == null) ? (other$type != null) : !this$type.equals(other$type)) return false;
        Object this$path = getPath(), other$path = other.getPath();
        if ((this$path == null) ? (other$path != null) : !this$path.equals(other$path)) return false;
        Object this$introduce = getIntroduce(), other$introduce = other.getIntroduce();
        if ((this$introduce == null) ? (other$introduce != null) : !this$introduce.equals(other$introduce))
            return false;
        Object this$indextemplate = getIndextemplate(), other$indextemplate = other.getIndextemplate();
        if ((this$indextemplate == null) ? (other$indextemplate != null) : !this$indextemplate.equals(other$indextemplate))
            return false;
        Object this$detailtemplate = getDetailtemplate(), other$detailtemplate = other.getDetailtemplate();
        if ((this$detailtemplate == null) ? (other$detailtemplate != null) : !this$detailtemplate.equals(other$detailtemplate))
            return false;
        Object this$nodetemplate = getNodetemplate(), other$nodetemplate = other.getNodetemplate();
        if ((this$nodetemplate == null) ? (other$nodetemplate != null) : !this$nodetemplate.equals(other$nodetemplate))
            return false;
        Object this$caterowmodel = getCaterowmodel(), other$caterowmodel = other.getCaterowmodel();
        return !((this$caterowmodel == null) ? (other$caterowmodel != null) : !this$caterowmodel.equals(other$caterowmodel));
    }

    protected boolean canEqual(Object other) {
        return other instanceof org.edu.modules.portal.entity.VeSiteCategory;
    }

    public int hashCode() {
        int PRIME = 59;
        Integer result = 1;
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $haspic = getHaspic();
        result = result * 59 + (($haspic == null) ? 43 : $haspic.hashCode());
        Object $pid = getPid();
        result = result * 59 + (($pid == null) ? 43 : $pid.hashCode());
        Object $status = getStatus();
        result = result * 59 + (($status == null) ? 43 : $status.hashCode());
        Object $bookverify = getBookverify();
        result = result * 59 + (($bookverify == null) ? 43 : $bookverify.hashCode());
        Object $isdown = getIsdown();
        result = result * 59 + (($isdown == null) ? 43 : $isdown.hashCode());
        Object $pagenum = getPagenum();
        result = result * 59 + (($pagenum == null) ? 43 : $pagenum.hashCode());
        Object $listsort = getListsort();
        result = result * 59 + (($listsort == null) ? 43 : $listsort.hashCode());
        Object $coverid = getCoverid();
        result = result * 59 + (($coverid == null) ? 43 : $coverid.hashCode());
        Object $siteid = getSiteid();
        result = result * 59 + (($siteid == null) ? 43 : $siteid.hashCode());
        Object $terminalid = getTerminalid();
        result = result * 59 + (($terminalid == null) ? 43 : $terminalid.hashCode());
        Object $isreltercate = getIsreltercate();
        result = result * 59 + (($isreltercate == null) ? 43 : $isreltercate.hashCode());
        Object $placeId = getPlaceId();
        result = result * 59 + (($placeId == null) ? 43 : $placeId.hashCode());
        Object $title = getTitle();
        result = result * 59 + (($title == null) ? 43 : $title.hashCode());
        Object $type = getType();
        result = result * 59 + (($type == null) ? 43 : $type.hashCode());
        Object $path = getPath();
        result = result * 59 + (($path == null) ? 43 : $path.hashCode());
        Object $introduce = getIntroduce();
        result = result * 59 + (($introduce == null) ? 43 : $introduce.hashCode());
        Object $indextemplate = getIndextemplate();
        result = result * 59 + (($indextemplate == null) ? 43 : $indextemplate.hashCode());
        Object $detailtemplate = getDetailtemplate();
        result = result * 59 + (($detailtemplate == null) ? 43 : $detailtemplate.hashCode());
        Object $nodetemplate = getNodetemplate();
        result = result * 59 + (($nodetemplate == null) ? 43 : $nodetemplate.hashCode());
        Object $caterowmodel = getCaterowmodel();
        return result * 59 + (($caterowmodel == null) ? 43 : $caterowmodel.hashCode());
    }


    public Integer getId() {
        return this.id;
    }

    public String getTitle() {
        return this.title;
    }

    public String getType() {
        return this.type;
    }

    public Integer getHaspic() {
        return this.haspic;
    }

    public Integer getPid() {
        return this.pid;
    }

    public Integer getStatus() {
        return this.status;
    }

    public Integer getBookverify() {
        return this.bookverify;
    }

    public Integer getIsdown() {
        return this.isdown;
    }

    public Integer getPagenum() {
        return this.pagenum;
    }

    public Integer getListsort() {
        return this.listsort;
    }

    public String getPath() {
        return this.path;
    }

    public Integer getCoverid() {
        return this.coverid;
    }

    public String getIntroduce() {
        return this.introduce;
    }

    public String getIndextemplate() {
        return this.indextemplate;
    }

    public String getDetailtemplate() {
        return this.detailtemplate;
    }

    public String getNodetemplate() {
        return this.nodetemplate;
    }

    public Integer getSiteid() {
        return this.siteid;
    }

    public Integer getTerminalid() {
        return this.terminalid;
    }

    public String getCaterowmodel() {
        return this.caterowmodel;
    }

    public Integer getIsreltercate() {
        return this.isreltercate;
    }

    public Integer getPlaceId() {

        return this.placeId;
    }
}


